package com.xwyzsn.backend.job.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author xwyzsn
 * @since 2023-03-03
 */
public class Student implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * student id
     */
    @TableId(value = "sid", type = IdType.AUTO)
    private Integer sid;

    /**
     * student name
     */
    private String sname;

    /**
     * student age
     */
    private Integer age;

    /**
     * student dept
     */
    private String dept;

    /**
     * student password
     */
    private String password;

    /**
     * student role
     */
    private String role;

    /**
     * student number
     */
    private String snum;

    /**
     * student major
     */
    private String major;

    /**
     * student class
     */
    private String classnum;

    /**
     * student email
     */
    private String email;

    /**
     * studetnt tel
     */
    private String tel;

    /**
     * student qq
     */
    private String qq;

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }
    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }
    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }
    public String getClassnum() {
        return classnum;
    }
    public void setClassnum(String classnum) {
        this.classnum = classnum;
    }
    public String getSnum() {
        return snum;
    }

    public void setSnum(String snum) {
        this.snum = snum;
    }
    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }
    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    @Override
    public String toString() {
        return "Student{" +
            "sid=" + sid +
            ", sname=" + sname +
            ", age=" + age +
            ", dept=" + dept +
            ", password=" + password +
            ", role=" + role +
            ", snum=" + snum +
            ", major=" + major +
            ", classnum=" + classnum +
            ", email=" + email +
            ", tel=" + tel +
            ", qq=" + qq +
        "}";
    }
}
